<div class="container">
    <?php
        include 'header1.php';
    ?>
    <div class="content">
    	<div class="leftcontent" style="width:500px">
        	<div class="randomtext">PHOTOS</div>
            
            	<?php 
			global $session;
			//$user_id = $session->get('userid');
			
			$sql_tag = "SELECT * FROM foto "; 
						$result_tag = mysql_query($sql_tag);
						while($res_tag = mysql_fetch_array($result_tag)){
							$nama_tag = $res_tag['pic'];
							
							$id_foto = $res_tag['idfoto'];
		?>
        	
        	<img src="<?php echo $nama_tag?>"  height="100" width="100" style="margin-top:10px; " />
        <?php
							}
		?>
            
      	</div>
        <div class="leftcontent" style="width:518px">
        	<div class="right1" style="border:dashed">
            	<div class="randomtext">Login Here!</div>
                <div>
                	<form id="login-form" method="post" action="<?php echo BASE_PATH . "home/login" ?>">
                            <div class="items">
                                    <label>Username</label>
                                    <input type="text" name="luser" />
                            </div>
                            <div class="items">
                                    <label>Password</label>
                                    <input type="password" name="lpass" />
                            </div>
                            <div style="margin-left:207px">
                                    <button type="submit">Login</button>
                            </div>
                	</form>
            	</div>

                <div class="clearboth"></div>
            </div>
            <div class="right1" style="border-left:dashed; border-right:dashed; border-bottom:dashed">
            	<div class="randomtext">Register Here!</div>
                <div>
                    <form  action="<?php echo BASE_PATH . "home/register" ?>" enctype="multipart/form-data" id="form" class="form" method="post">
                    	<div class="items">
                        	<label>Full Name</label>
                            <input type="text" name="fnama"/>
                            <span class="validationtext" id="u_fname"></span>
                        </div>
                        <div class="items">
                        	<label>Username</label>
                            <input type="text" name="fuser"/>
                            <span class="validationtext" id="u_username"></span>
                        </div>
                        <div class="items">
                        	<label>Password</label>
                            <input type="password" name="fpass"/>
                            <span class="validationtext" id="u_pwd"></span>
                        </div>
                        <div class="items">
                        	<label>Confirm Pwd</label>
                            <input type="password" name="confpassword"/>
                            <span class="validationtext" id="u_pwd2"></span>
                        </div>
                        <div class="items">
                        	<label>Birth Date</label>
                            <input type="text" name="ftanggal"/>
                            <span class="validationtext" id="u_tgllahir"></span>
                        </div>
                        <div class="items">
                        	<label>Email</label>
                            <input type="text" name="femail"/>
                            <span class="validationtext" id="u_email"></span>
                        </div>
                        <div class="items">
                        	<label>Gender</label>
                            <input type="radio" name="fgender" value="P" checked="checked">Male
                            <input type="radio" name="fgender" value="W">Female
							<br/>
                        </div>
                        <div class="items">
                        	<label>Location</label>
                            <input type="text" name="flokasi"/>
                            <span class="validationtext" id="u_kota"></span>
                        </div>
                        <div class="items">
                        	<label>Profile Pic</label>
                            <!--<input type="hidden" name="MAX_FILE_SIZE" value="10000000" />-->
                            <input type="file" name="fprofpict" /><br/>
                            <span class="validationtext" id="u_profpic"></span>
                        </div>
                        <div style="margin-left:189px">
                            <button name="register" type="submit">Register</button>
                        </div>
                    </form>
                </div>
            </div>
            <div class="clearboth"></div>
        </div>
        <div class="clearboth"></div>
    </div>
    <div class="footer"></div>
</div>
